import request from '../request'
export function getAllArchives (year, month) {
  const data = { year, month }
  return request({
    url: '/api/archive/list',
    method: 'get',
    data
  })
}

export function getArchiveList () {
  return request({
    url: '/api/archive/new',
    method: 'get'
  })
}
